package com.heima.wemedia.usertext;


import com.heima.model.wemedia.dtos.NewsAuthDto;
import com.heima.wemedia.WemediaApplication;
import com.heima.wemedia.service.WmNewsService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

@SpringBootTest(classes = WemediaApplication.class)
@RunWith(SpringRunner.class)
public class examineText {

    @Autowired
    private WmNewsService wmNewsService;

    @Test
    public static void main(String[] args) {
        NewsAuthDto newsAuthDto = new NewsAuthDto();
        newsAuthDto.setId(6231);
//        wmNewsService.authFail(newsAuthDto);

    }


}
